package com.itmk.web.room.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itmk.web.room.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itmk.web.room.entity.RoomPage;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author java实战基地
 * @since 2023-10-11
 */
public interface RoomService extends IService<Room> {
    //新增
    void add(Room room);
    //编辑
    void edit(Room room);
    //删除
    void delete(Integer roomId);
    //列表
    IPage<Room> getList(RoomPage parm);
    //列表
    IPage<Room> getIndexList(RoomPage parm);
}
